package com.aya.tb;

import java.lang.reflect.Method;
import java.lang.reflect.Parameter;

public class RequestMap {
    private final Method method;
    private final Object bean;
    private final Parameter[]  parameters;

    public RequestMap(Method method, Object bean,Parameter[]  parameters) {
        this.method = method;
        this.bean = bean;
        this.parameters = parameters;
    }

    public Method getMethod(){
        return this.method;
    }

    public Object getBean(){
        return this.bean;
    }

    public int getParameterCount() {
        return 0;
    }

    public Parameter[]   getParameters() {
        return parameters;
    }
}
